package com.gs.SynPatrolRep.view;


import com.gs.SynPatrolRep.apiresult.ApiResultData;
import com.gs.SynPatrolRep.apiresult.PagedList;
import com.gs.SynPatrolRep.db.dto.CreatePalBillItemDto;
import com.gs.SynPatrolRep.db.dto.PalBillItemDto;

import java.util.List;

public interface IPalBillItemView extends IView {
    void onGetDataSuccess(ApiResultData<PagedList<PalBillItemDto>> apiResultData);
    void onGetDataFails(Exception e);

    void onUploadImgSuccess(ApiResultData<String> apiResultData, int position);
    void onUploadImgFails(Exception e, int position);

    void onUploadDataSuccess(ApiResultData<String> apiResultData);
    void onUploadDataFails(Exception e);

    String getBillId();
    String getSiteId();
    boolean getExct();
    String getExctRemark();
    List<CreatePalBillItemDto.CreatePalBillItemFdbackDto> getItemFdbacks();
    List<CreatePalBillItemDto.ExctPhoto> getExctPhotos();
    CreatePalBillItemDto.Event getEvent();
}
